/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ImprimirVenta.java
 *
 * Created on 05-jun-2012, 22:22:32
 */
package ui;

import io.MotoDTO;
import io.PersonaDTO;
import io.PlanDTO;
import io.VentaDTO;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.print.PageFormat;
import java.awt.print.Printable;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;

/**
 *
 * @author nahuel
 */
public class ImprimirVenta extends javax.swing.JFrame implements Printable{

    /** Creates new form ImprimirVenta */
    public ImprimirVenta() {
        initComponents();
        this.jComboBoxTipoPagoVenta.setVisible(false);
        this.jComboBoxTipoVenta.setVisible(false);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPaneDatosVenta = new javax.swing.JScrollPane();
        jPanelDatosVenta = new javax.swing.JPanel();
        jPanelDatosDeVenta = new javax.swing.JPanel();
        jLabelDatosVenta = new javax.swing.JLabel();
        jLabelTipoVenta = new javax.swing.JLabel();
        jComboBoxTipoVenta = new javax.swing.JComboBox();
        jLabelTipoPagoVenta = new javax.swing.JLabel();
        jComboBoxTipoPagoVenta = new javax.swing.JComboBox();
        jLabelFechaVenta = new javax.swing.JLabel();
        jTextFieldFechaVenta = new javax.swing.JTextField();
        jTextFieldTipoVenta = new javax.swing.JTextField();
        jTextFieldTipoPagoVenta = new javax.swing.JTextField();
        jPanelDatosMotovehiculo = new javax.swing.JPanel();
        jTextFieldPrecioMotoVenta = new javax.swing.JTextField();
        jLabelPrecioMotoVenta = new javax.swing.JLabel();
        jLabelObservacionesMotoVenta = new javax.swing.JLabel();
        jTextFieldObservacionesMotoVenta = new javax.swing.JTextField();
        jLabelNroMotorMotoVenta = new javax.swing.JLabel();
        jTextFieldNroMotorMotoVenta = new javax.swing.JTextField();
        jLabelCilindradasMotoVenta = new javax.swing.JLabel();
        jTextFieldCilindradasMotoVenta = new javax.swing.JTextField();
        jLabelDatosMotovehiculo = new javax.swing.JLabel();
        jLabelMarcaMotoVenta = new javax.swing.JLabel();
        jTextFieldMarcaMotoVenta = new javax.swing.JTextField();
        jLabelModeloMotoVenta = new javax.swing.JLabel();
        jLabelColorMotoVenta = new javax.swing.JLabel();
        jLabelNroChasisMotoVenta = new javax.swing.JLabel();
        jTextFieldColorMotoVenta = new javax.swing.JTextField();
        jTextFieldNroChasisMotoVenta = new javax.swing.JTextField();
        jTextFieldModeloMotoVenta = new javax.swing.JTextField();
        jTextFieldKmMotoVenta = new javax.swing.JTextField();
        jLabelKmMotoVenta = new javax.swing.JLabel();
        jLabelModeloAnoMotoVenta = new javax.swing.JLabel();
        jTextFieldModeloAnoMotoVenta = new javax.swing.JTextField();
        jPanelDatosCliente = new javax.swing.JPanel();
        jLabelDatosClienteVenta = new javax.swing.JLabel();
        jLabelAyNClienteVenta = new javax.swing.JLabel();
        jLabelDireccionClienteVenta = new javax.swing.JLabel();
        jLabelDirActualClienteVenta = new javax.swing.JLabel();
        jLabelConyugueClienteVenta = new javax.swing.JLabel();
        jTextFieldConyugeClienteVenta = new javax.swing.JTextField();
        jTextFieldDirActualClienteVenta = new javax.swing.JTextField();
        jTextFieldDirClienteVenta = new javax.swing.JTextField();
        jTextFieldNombreClienteVenta = new javax.swing.JTextField();
        jTextFieldDNIClienteVenta = new javax.swing.JTextField();
        jLabelDNIClienteVenta = new javax.swing.JLabel();
        jLabelFechaNacClienteVenta = new javax.swing.JLabel();
        jLabelTelefonoClienteVenta = new javax.swing.JLabel();
        jLabelTelefono2ClienteVenta = new javax.swing.JLabel();
        jLabelObservacionesClienteVenta = new javax.swing.JLabel();
        jTextFieldObservacionesClienteVenta = new javax.swing.JTextField();
        jTextFieldTelefono2ClienteVenta = new javax.swing.JTextField();
        jTextFieldTelefonoClienteVenta = new javax.swing.JTextField();
        jTextFieldEmailClienteVenta = new javax.swing.JTextField();
        jTextFieldLocalidadClienteVenta = new javax.swing.JTextField();
        jTextFieldTrabajoClienteVenta = new javax.swing.JTextField();
        jLabelEmailClienteVenta = new javax.swing.JLabel();
        jLabelLocalidadClienteVenta = new javax.swing.JLabel();
        jLabelTrabajoClienteVenta = new javax.swing.JLabel();
        jTextFieldFechaNacClienteVenta = new javax.swing.JTextField();
        jPanelDatosService = new javax.swing.JPanel();
        jLabelImporteServiceVenta = new javax.swing.JLabel();
        jTextFieldImporteServiceVenta = new javax.swing.JTextField();
        jLabelDescripcionServiceVenta = new javax.swing.JLabel();
        jTextFieldDescripcionServiceVenta = new javax.swing.JTextField();
        jLabelDatosServiceVenta = new javax.swing.JLabel();
        jPanelDatosRepuesto = new javax.swing.JPanel();
        jLabelImporteRespuestoVenta = new javax.swing.JLabel();
        jTextFieldImporteRespuestoVenta = new javax.swing.JTextField();
        jLabelDescripcionRespuestoVenta = new javax.swing.JLabel();
        jTextFieldDescripcionRespuestoVenta = new javax.swing.JTextField();
        jLabelDatosRespuestoVenta = new javax.swing.JLabel();
        jPanelDatosPago = new javax.swing.JPanel();
        jLabelEntregaPagoVenta = new javax.swing.JLabel();
        jTextFieldEntregaPagoVenta = new javax.swing.JTextField();
        jLabelDatosPagoVenta = new javax.swing.JLabel();
        jPanelDatosPagoCuotas = new javax.swing.JPanel();
        jLabelPlanPagoVenta = new javax.swing.JLabel();
        jTextFieldPlanPagoVenta = new javax.swing.JTextField();
        jLabelCuotasPagoVenta = new javax.swing.JLabel();
        jTextFieldCuotasPagoVenta = new javax.swing.JTextField();
        jLabelFechaPrimerVencimiento = new javax.swing.JLabel();
        jTextFieldFechaPrimerVencimiento = new javax.swing.JTextField();
        jPanelDatosGarante1 = new javax.swing.JPanel();
        jLabelDatosGaranteVenta1 = new javax.swing.JLabel();
        jLabelAyNGaranteVenta1 = new javax.swing.JLabel();
        jLabelDireccionGaranteVenta1 = new javax.swing.JLabel();
        jLabelDirActualGaranteVenta1 = new javax.swing.JLabel();
        jLabelConyugueGaranteVenta1 = new javax.swing.JLabel();
        jTextFieldConyugeGaranteVenta1 = new javax.swing.JTextField();
        jTextFieldDirActualGaranteVenta1 = new javax.swing.JTextField();
        jTextFieldDirGaranteVenta1 = new javax.swing.JTextField();
        jTextFieldNombreGaranteVenta1 = new javax.swing.JTextField();
        jTextFieldDNIGaranteVenta1 = new javax.swing.JTextField();
        jLabelDNIGaranteVenta1 = new javax.swing.JLabel();
        jLabelFechaNacGaranteVenta1 = new javax.swing.JLabel();
        jLabelTelefonoGaranteVenta1 = new javax.swing.JLabel();
        jLabelTelefono2GaranteVenta1 = new javax.swing.JLabel();
        jLabelObservacionesGaranteVenta1 = new javax.swing.JLabel();
        jTextFieldObservacionesGaranteVenta1 = new javax.swing.JTextField();
        jTextFieldTelefono2GaranteVenta1 = new javax.swing.JTextField();
        jTextFieldTelefonoGaranteVenta1 = new javax.swing.JTextField();
        jTextFieldEmailGaranteVenta1 = new javax.swing.JTextField();
        jTextFieldLocalidadGaranteVenta1 = new javax.swing.JTextField();
        jTextFieldTrabajoGaranteVenta1 = new javax.swing.JTextField();
        jLabelEmailGaranteVenta1 = new javax.swing.JLabel();
        jLabelLocalidadGaranteVenta1 = new javax.swing.JLabel();
        jLabelTrabajoGaranteVenta1 = new javax.swing.JLabel();
        jTextFieldFechaNacGaranteVenta1 = new javax.swing.JTextField();
        jPanelDatosGarante3 = new javax.swing.JPanel();
        jLabelDatosGaranteVenta2 = new javax.swing.JLabel();
        jLabelAyNGaranteVenta2 = new javax.swing.JLabel();
        jLabelDireccionGaranteVenta2 = new javax.swing.JLabel();
        jLabelDirActualGaranteVenta2 = new javax.swing.JLabel();
        jLabelConyugueGaranteVenta2 = new javax.swing.JLabel();
        jTextFieldConyugeGaranteVenta2 = new javax.swing.JTextField();
        jTextFieldDirActualGaranteVenta2 = new javax.swing.JTextField();
        jTextFieldDirGaranteVenta2 = new javax.swing.JTextField();
        jTextFieldNombreGaranteVenta2 = new javax.swing.JTextField();
        jTextFieldDNIGaranteVenta2 = new javax.swing.JTextField();
        jLabelDNIGaranteVenta2 = new javax.swing.JLabel();
        jLabelFechaNacGaranteVenta2 = new javax.swing.JLabel();
        jLabelTelefonoGaranteVenta2 = new javax.swing.JLabel();
        jLabelTelefono2GaranteVenta2 = new javax.swing.JLabel();
        jLabelObservacionesGaranteVenta2 = new javax.swing.JLabel();
        jTextFieldObservacionesGaranteVenta2 = new javax.swing.JTextField();
        jTextFieldTelefono2GaranteVenta2 = new javax.swing.JTextField();
        jTextFieldTelefonoGaranteVenta2 = new javax.swing.JTextField();
        jTextFieldEmailGaranteVenta2 = new javax.swing.JTextField();
        jTextFieldLocalidadGaranteVenta2 = new javax.swing.JTextField();
        jTextFieldTrabajoGaranteVenta2 = new javax.swing.JTextField();
        jLabelEmailGaranteVenta2 = new javax.swing.JLabel();
        jLabelLocalidadGaranteVenta2 = new javax.swing.JLabel();
        jLabelTrabajoGaranteVenta2 = new javax.swing.JLabel();
        jTextFieldFechaNacGaranteVenta2 = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jPanelDatosVenta.setBackground(new java.awt.Color(255, 255, 255));

        jPanelDatosDeVenta.setBackground(new java.awt.Color(255, 255, 255));

        jLabelDatosVenta.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabelDatosVenta.setText("Datos Venta");

        jLabelTipoVenta.setText("Tipo de venta:");

        jComboBoxTipoVenta.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Motovehículo", "Services", "Repuestos" }));

        jLabelTipoPagoVenta.setText("Tipo de pago:");

        jComboBoxTipoPagoVenta.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Contado", "Cuotas" }));

        jLabelFechaVenta.setText("Fecha:");

        jTextFieldFechaVenta.setBorder(null);

        jTextFieldTipoVenta.setBorder(null);

        jTextFieldTipoPagoVenta.setBorder(null);

        javax.swing.GroupLayout jPanelDatosDeVentaLayout = new javax.swing.GroupLayout(jPanelDatosDeVenta);
        jPanelDatosDeVenta.setLayout(jPanelDatosDeVentaLayout);
        jPanelDatosDeVentaLayout.setHorizontalGroup(
            jPanelDatosDeVentaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosDeVentaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosDeVentaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosDeVentaLayout.createSequentialGroup()
                        .addComponent(jLabelDatosVenta)
                        .addGap(18, 18, 18)
                        .addComponent(jComboBoxTipoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jComboBoxTipoPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelDatosDeVentaLayout.createSequentialGroup()
                        .addComponent(jLabelTipoVenta)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTextFieldTipoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(20, 20, 20)
                        .addComponent(jLabelTipoPagoVenta)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTextFieldTipoPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(15, 15, 15)
                        .addComponent(jLabelFechaVenta)
                        .addGap(18, 18, 18)
                        .addComponent(jTextFieldFechaVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(392, Short.MAX_VALUE))
        );
        jPanelDatosDeVentaLayout.setVerticalGroup(
            jPanelDatosDeVentaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosDeVentaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosDeVentaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelDatosVenta)
                    .addComponent(jComboBoxTipoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jComboBoxTipoPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanelDatosDeVentaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelTipoVenta)
                    .addComponent(jLabelTipoPagoVenta)
                    .addComponent(jLabelFechaVenta)
                    .addComponent(jTextFieldFechaVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldTipoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldTipoPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(22, Short.MAX_VALUE))
        );

        jPanelDatosMotovehiculo.setBackground(new java.awt.Color(255, 255, 255));

        jTextFieldPrecioMotoVenta.setBorder(null);

        jLabelPrecioMotoVenta.setText("Precio:");

        jLabelObservacionesMotoVenta.setText("Observaciones:");

        jTextFieldObservacionesMotoVenta.setBorder(null);

        jLabelNroMotorMotoVenta.setText("N° Motor:");

        jTextFieldNroMotorMotoVenta.setBorder(null);

        jLabelCilindradasMotoVenta.setText("Cilindradas:");

        jTextFieldCilindradasMotoVenta.setBorder(null);

        jLabelDatosMotovehiculo.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabelDatosMotovehiculo.setText("Datos Motovehículo");

        jLabelMarcaMotoVenta.setText("Marca:");

        jTextFieldMarcaMotoVenta.setBorder(null);

        jLabelModeloMotoVenta.setText("Modelo:");

        jLabelColorMotoVenta.setText("Color:");

        jLabelNroChasisMotoVenta.setText("N° Chasi:");

        jTextFieldColorMotoVenta.setBorder(null);

        jTextFieldNroChasisMotoVenta.setBorder(null);

        jTextFieldModeloMotoVenta.setBorder(null);

        jTextFieldKmMotoVenta.setBorder(null);

        jLabelKmMotoVenta.setText("Km:");

        jLabelModeloAnoMotoVenta.setText("Modelo Año:");

        jTextFieldModeloAnoMotoVenta.setBorder(null);

        javax.swing.GroupLayout jPanelDatosMotovehiculoLayout = new javax.swing.GroupLayout(jPanelDatosMotovehiculo);
        jPanelDatosMotovehiculo.setLayout(jPanelDatosMotovehiculoLayout);
        jPanelDatosMotovehiculoLayout.setHorizontalGroup(
            jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabelObservacionesMotoVenta)
                    .addComponent(jLabelNroMotorMotoVenta)
                    .addComponent(jLabelCilindradasMotoVenta))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                        .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                                .addComponent(jTextFieldCilindradasMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(32, 32, 32)
                                .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabelColorMotoVenta)
                                    .addComponent(jLabelMarcaMotoVenta)))
                            .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                                .addComponent(jTextFieldNroMotorMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jLabelNroChasisMotoVenta)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextFieldColorMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldMarcaMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldNroChasisMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jTextFieldObservacionesMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 468, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(21, 21, 21)
                .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                        .addComponent(jLabelModeloMotoVenta)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextFieldModeloMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                        .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelPrecioMotoVenta)
                            .addComponent(jLabelModeloAnoMotoVenta)
                            .addComponent(jLabelKmMotoVenta))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextFieldModeloAnoMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldKmMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldPrecioMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(150, Short.MAX_VALUE))
            .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabelDatosMotovehiculo)
                    .addGap(513, 513, 513)))
        );
        jPanelDatosMotovehiculoLayout.setVerticalGroup(
            jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                        .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTextFieldModeloMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelModeloMotoVenta)
                            .addComponent(jTextFieldMarcaMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelMarcaMotoVenta))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelKmMotoVenta)
                            .addComponent(jTextFieldKmMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelColorMotoVenta)
                            .addComponent(jTextFieldColorMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelCilindradasMotoVenta)
                        .addComponent(jTextFieldCilindradasMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelNroMotorMotoVenta)
                    .addComponent(jTextFieldNroMotorMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelNroChasisMotoVenta)
                    .addComponent(jTextFieldModeloAnoMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelModeloAnoMotoVenta)
                    .addComponent(jTextFieldNroChasisMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelObservacionesMotoVenta)
                    .addComponent(jTextFieldPrecioMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelPrecioMotoVenta)
                    .addComponent(jTextFieldObservacionesMotoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(jPanelDatosMotovehiculoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanelDatosMotovehiculoLayout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabelDatosMotovehiculo)
                    .addContainerGap(92, Short.MAX_VALUE)))
        );

        jPanelDatosCliente.setBackground(new java.awt.Color(255, 255, 255));

        jLabelDatosClienteVenta.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabelDatosClienteVenta.setText("Datos Cliente");

        jLabelAyNClienteVenta.setText("Apellido y Nombres:");

        jLabelDireccionClienteVenta.setText("Dirección:");

        jLabelDirActualClienteVenta.setText("Dirección Actual:");

        jLabelConyugueClienteVenta.setText("Conyuge:");

        jTextFieldConyugeClienteVenta.setBorder(null);

        jTextFieldDirActualClienteVenta.setBorder(null);

        jTextFieldDirClienteVenta.setBorder(null);

        jTextFieldNombreClienteVenta.setBorder(null);

        jTextFieldDNIClienteVenta.setBorder(null);

        jLabelDNIClienteVenta.setText("D.N.I:");

        jLabelFechaNacClienteVenta.setText("Fecha de Nacimiento:");

        jLabelTelefonoClienteVenta.setText("Teléfono:");

        jLabelTelefono2ClienteVenta.setText("Teléfono Alternativo:");

        jLabelObservacionesClienteVenta.setText("Observaciones:");

        jTextFieldObservacionesClienteVenta.setBorder(null);

        jTextFieldTelefono2ClienteVenta.setBorder(null);

        jTextFieldTelefonoClienteVenta.setBorder(null);

        jTextFieldEmailClienteVenta.setBorder(null);
        jTextFieldEmailClienteVenta.setMaximumSize(new java.awt.Dimension(6, 20));

        jTextFieldLocalidadClienteVenta.setBorder(null);

        jTextFieldTrabajoClienteVenta.setBorder(null);

        jLabelEmailClienteVenta.setText("E-Mail:");

        jLabelLocalidadClienteVenta.setText("Localidad:");

        jLabelTrabajoClienteVenta.setText("Lugar de Trabajo:");

        jTextFieldFechaNacClienteVenta.setBorder(null);

        javax.swing.GroupLayout jPanelDatosClienteLayout = new javax.swing.GroupLayout(jPanelDatosCliente);
        jPanelDatosCliente.setLayout(jPanelDatosClienteLayout);
        jPanelDatosClienteLayout.setHorizontalGroup(
            jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosClienteLayout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosClienteLayout.createSequentialGroup()
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelConyugueClienteVenta)
                            .addComponent(jLabelDireccionClienteVenta)
                            .addComponent(jLabelAyNClienteVenta)
                            .addComponent(jLabelDirActualClienteVenta))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jTextFieldConyugeClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldNombreClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldDirActualClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldDirClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelFechaNacClienteVenta)
                            .addComponent(jLabelTelefonoClienteVenta)
                            .addComponent(jLabelTelefono2ClienteVenta)
                            .addComponent(jLabelObservacionesClienteVenta)))
                    .addGroup(jPanelDatosClienteLayout.createSequentialGroup()
                        .addComponent(jLabelDatosClienteVenta)
                        .addGap(76, 76, 76)
                        .addComponent(jLabelDNIClienteVenta)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextFieldDNIClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(15, 15, 15)
                .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosClienteLayout.createSequentialGroup()
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jTextFieldFechaNacClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jTextFieldTelefonoClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jTextFieldTelefono2ClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelTrabajoClienteVenta, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelEmailClienteVenta, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelLocalidadClienteVenta, javax.swing.GroupLayout.Alignment.TRAILING))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextFieldTrabajoClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldLocalidadClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldEmailClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jTextFieldObservacionesClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 495, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(164, Short.MAX_VALUE))
        );
        jPanelDatosClienteLayout.setVerticalGroup(
            jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosClienteLayout.createSequentialGroup()
                .addGap(7, 7, 7)
                .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelDatosClienteVenta)
                    .addComponent(jTextFieldDNIClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelDNIClienteVenta))
                .addGap(14, 14, 14)
                .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosClienteLayout.createSequentialGroup()
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelAyNClienteVenta)
                            .addComponent(jTextFieldNombreClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelFechaNacClienteVenta))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelDireccionClienteVenta)
                            .addComponent(jTextFieldDirClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelTelefonoClienteVenta)
                            .addComponent(jTextFieldTelefonoClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelDirActualClienteVenta)
                            .addComponent(jTextFieldDirActualClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelTelefono2ClienteVenta)
                            .addComponent(jTextFieldTelefono2ClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanelDatosClienteLayout.createSequentialGroup()
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelTrabajoClienteVenta)
                            .addComponent(jTextFieldTrabajoClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldFechaNacClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTextFieldLocalidadClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelLocalidadClienteVenta))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelEmailClienteVenta)
                            .addComponent(jTextFieldEmailClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelObservacionesClienteVenta)
                        .addComponent(jTextFieldObservacionesClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelDatosClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelConyugueClienteVenta)
                        .addComponent(jTextFieldConyugeClienteVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(23, Short.MAX_VALUE))
        );

        jPanelDatosService.setBackground(new java.awt.Color(255, 255, 255));

        jLabelImporteServiceVenta.setText("Importe:");

        jTextFieldImporteServiceVenta.setBorder(null);

        jLabelDescripcionServiceVenta.setText("Descripción:");

        jTextFieldDescripcionServiceVenta.setBorder(null);

        jLabelDatosServiceVenta.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabelDatosServiceVenta.setText("Datos Service");

        javax.swing.GroupLayout jPanelDatosServiceLayout = new javax.swing.GroupLayout(jPanelDatosService);
        jPanelDatosService.setLayout(jPanelDatosServiceLayout);
        jPanelDatosServiceLayout.setHorizontalGroup(
            jPanelDatosServiceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosServiceLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosServiceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosServiceLayout.createSequentialGroup()
                        .addComponent(jLabelImporteServiceVenta)
                        .addGap(18, 18, 18)
                        .addComponent(jTextFieldImporteServiceVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jLabelDescripcionServiceVenta)
                        .addGap(18, 18, 18)
                        .addComponent(jTextFieldDescripcionServiceVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 471, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jLabelDatosServiceVenta))
                .addContainerGap(247, Short.MAX_VALUE))
        );
        jPanelDatosServiceLayout.setVerticalGroup(
            jPanelDatosServiceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelDatosServiceLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabelDatosServiceVenta)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 14, Short.MAX_VALUE)
                .addGroup(jPanelDatosServiceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelImporteServiceVenta)
                    .addComponent(jTextFieldImporteServiceVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelDescripcionServiceVenta)
                    .addComponent(jTextFieldDescripcionServiceVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        jPanelDatosRepuesto.setBackground(new java.awt.Color(255, 255, 255));

        jLabelImporteRespuestoVenta.setText("Importe:");

        jTextFieldImporteRespuestoVenta.setBorder(null);

        jLabelDescripcionRespuestoVenta.setText("Descripción:");

        jTextFieldDescripcionRespuestoVenta.setBorder(null);

        jLabelDatosRespuestoVenta.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabelDatosRespuestoVenta.setText("Datos Respuesto");

        javax.swing.GroupLayout jPanelDatosRepuestoLayout = new javax.swing.GroupLayout(jPanelDatosRepuesto);
        jPanelDatosRepuesto.setLayout(jPanelDatosRepuestoLayout);
        jPanelDatosRepuestoLayout.setHorizontalGroup(
            jPanelDatosRepuestoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosRepuestoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosRepuestoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosRepuestoLayout.createSequentialGroup()
                        .addComponent(jLabelImporteRespuestoVenta)
                        .addGap(18, 18, 18)
                        .addComponent(jTextFieldImporteRespuestoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jLabelDescripcionRespuestoVenta)
                        .addGap(18, 18, 18)
                        .addComponent(jTextFieldDescripcionRespuestoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 471, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jLabelDatosRespuestoVenta))
                .addContainerGap(247, Short.MAX_VALUE))
        );
        jPanelDatosRepuestoLayout.setVerticalGroup(
            jPanelDatosRepuestoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelDatosRepuestoLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabelDatosRespuestoVenta)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 14, Short.MAX_VALUE)
                .addGroup(jPanelDatosRepuestoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelImporteRespuestoVenta)
                    .addComponent(jTextFieldImporteRespuestoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelDescripcionRespuestoVenta)
                    .addComponent(jTextFieldDescripcionRespuestoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        jPanelDatosPago.setBackground(new java.awt.Color(255, 255, 255));

        jLabelEntregaPagoVenta.setText("Entrega:");

        jTextFieldEntregaPagoVenta.setBorder(null);

        jLabelDatosPagoVenta.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabelDatosPagoVenta.setText("Datos Pago");

        jPanelDatosPagoCuotas.setBackground(new java.awt.Color(255, 255, 255));

        jLabelPlanPagoVenta.setText("Plan:");

        jTextFieldPlanPagoVenta.setBorder(null);
        jTextFieldPlanPagoVenta.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR));

        jLabelCuotasPagoVenta.setText("Cuotas de:");

        jTextFieldCuotasPagoVenta.setBorder(null);

        jLabelFechaPrimerVencimiento.setText("Fecha primer vencimiento:");

        jTextFieldFechaPrimerVencimiento.setBorder(null);

        javax.swing.GroupLayout jPanelDatosPagoCuotasLayout = new javax.swing.GroupLayout(jPanelDatosPagoCuotas);
        jPanelDatosPagoCuotas.setLayout(jPanelDatosPagoCuotasLayout);
        jPanelDatosPagoCuotasLayout.setHorizontalGroup(
            jPanelDatosPagoCuotasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosPagoCuotasLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabelPlanPagoVenta)
                .addGap(37, 37, 37)
                .addComponent(jTextFieldPlanPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabelCuotasPagoVenta)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTextFieldCuotasPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabelFechaPrimerVencimiento)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jTextFieldFechaPrimerVencimiento, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(271, Short.MAX_VALUE))
        );
        jPanelDatosPagoCuotasLayout.setVerticalGroup(
            jPanelDatosPagoCuotasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosPagoCuotasLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosPagoCuotasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldCuotasPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelCuotasPagoVenta)
                    .addComponent(jLabelPlanPagoVenta)
                    .addComponent(jTextFieldPlanPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelFechaPrimerVencimiento)
                    .addComponent(jTextFieldFechaPrimerVencimiento, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanelDatosPagoLayout = new javax.swing.GroupLayout(jPanelDatosPago);
        jPanelDatosPago.setLayout(jPanelDatosPagoLayout);
        jPanelDatosPagoLayout.setHorizontalGroup(
            jPanelDatosPagoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosPagoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosPagoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelDatosPagoVenta)
                    .addGroup(jPanelDatosPagoLayout.createSequentialGroup()
                        .addComponent(jLabelEntregaPagoVenta)
                        .addGap(18, 18, 18)
                        .addComponent(jTextFieldEntregaPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE))))
            .addComponent(jPanelDatosPagoCuotas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        jPanelDatosPagoLayout.setVerticalGroup(
            jPanelDatosPagoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosPagoLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabelDatosPagoVenta)
                .addGap(18, 18, 18)
                .addGroup(jPanelDatosPagoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelEntregaPagoVenta)
                    .addComponent(jTextFieldEntregaPagoVenta, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelDatosPagoCuotas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(4, Short.MAX_VALUE))
        );

        jPanelDatosGarante1.setBackground(new java.awt.Color(255, 255, 255));

        jLabelDatosGaranteVenta1.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabelDatosGaranteVenta1.setText("Datos Garante 1");

        jLabelAyNGaranteVenta1.setText("Apellido y Nombres:");

        jLabelDireccionGaranteVenta1.setText("Dirección:");

        jLabelDirActualGaranteVenta1.setText("Dirección Actual:");

        jLabelConyugueGaranteVenta1.setText("Conyuge:");

        jTextFieldConyugeGaranteVenta1.setBorder(null);

        jTextFieldDirActualGaranteVenta1.setBorder(null);

        jTextFieldDirGaranteVenta1.setBorder(null);

        jTextFieldNombreGaranteVenta1.setBorder(null);

        jTextFieldDNIGaranteVenta1.setBorder(null);

        jLabelDNIGaranteVenta1.setText("D.N.I:");

        jLabelFechaNacGaranteVenta1.setText("Fecha de Nacimiento:");

        jLabelTelefonoGaranteVenta1.setText("Teléfono:");

        jLabelTelefono2GaranteVenta1.setText("Teléfono Alternativo:");

        jLabelObservacionesGaranteVenta1.setText("Observaciones:");

        jTextFieldObservacionesGaranteVenta1.setBorder(null);

        jTextFieldTelefono2GaranteVenta1.setBorder(null);

        jTextFieldTelefonoGaranteVenta1.setBorder(null);

        jTextFieldEmailGaranteVenta1.setBorder(null);
        jTextFieldEmailGaranteVenta1.setMaximumSize(new java.awt.Dimension(6, 20));

        jTextFieldLocalidadGaranteVenta1.setBorder(null);

        jTextFieldTrabajoGaranteVenta1.setBorder(null);

        jLabelEmailGaranteVenta1.setText("E-Mail:");

        jLabelLocalidadGaranteVenta1.setText("Localidad:");

        jLabelTrabajoGaranteVenta1.setText("Lugar de Trabajo:");

        jTextFieldFechaNacGaranteVenta1.setBorder(null);

        javax.swing.GroupLayout jPanelDatosGarante1Layout = new javax.swing.GroupLayout(jPanelDatosGarante1);
        jPanelDatosGarante1.setLayout(jPanelDatosGarante1Layout);
        jPanelDatosGarante1Layout.setHorizontalGroup(
            jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosGarante1Layout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosGarante1Layout.createSequentialGroup()
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelConyugueGaranteVenta1)
                            .addComponent(jLabelDireccionGaranteVenta1)
                            .addComponent(jLabelAyNGaranteVenta1)
                            .addComponent(jLabelDirActualGaranteVenta1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextFieldNombreGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldDirGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldDirActualGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldConyugeGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelFechaNacGaranteVenta1)
                            .addComponent(jLabelTelefonoGaranteVenta1)
                            .addComponent(jLabelTelefono2GaranteVenta1)
                            .addComponent(jLabelObservacionesGaranteVenta1))
                        .addGap(17, 17, 17)
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanelDatosGarante1Layout.createSequentialGroup()
                                .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jTextFieldTelefono2GaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(jTextFieldFechaNacGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(jTextFieldTelefonoGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabelTrabajoGaranteVenta1, javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabelEmailGaranteVenta1, javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabelLocalidadGaranteVenta1, javax.swing.GroupLayout.Alignment.TRAILING))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jTextFieldTrabajoGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jTextFieldLocalidadGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jTextFieldEmailGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addComponent(jTextFieldObservacionesGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 495, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanelDatosGarante1Layout.createSequentialGroup()
                        .addComponent(jLabelDatosGaranteVenta1)
                        .addGap(76, 76, 76)
                        .addComponent(jLabelDNIGaranteVenta1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextFieldDNIGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(39, Short.MAX_VALUE))
        );
        jPanelDatosGarante1Layout.setVerticalGroup(
            jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosGarante1Layout.createSequentialGroup()
                .addGap(7, 7, 7)
                .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelDatosGaranteVenta1)
                    .addComponent(jTextFieldDNIGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelDNIGaranteVenta1))
                .addGap(14, 14, 14)
                .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosGarante1Layout.createSequentialGroup()
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelAyNGaranteVenta1)
                            .addComponent(jTextFieldNombreGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelFechaNacGaranteVenta1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelDireccionGaranteVenta1)
                            .addComponent(jTextFieldDirGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelTelefonoGaranteVenta1)
                            .addComponent(jTextFieldTelefonoGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelDirActualGaranteVenta1)
                            .addComponent(jTextFieldDirActualGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelTelefono2GaranteVenta1)
                            .addComponent(jTextFieldTelefono2GaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanelDatosGarante1Layout.createSequentialGroup()
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelTrabajoGaranteVenta1)
                            .addComponent(jTextFieldTrabajoGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldFechaNacGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTextFieldLocalidadGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelLocalidadGaranteVenta1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelEmailGaranteVenta1)
                            .addComponent(jTextFieldEmailGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelObservacionesGaranteVenta1)
                        .addComponent(jTextFieldObservacionesGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelDatosGarante1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelConyugueGaranteVenta1)
                        .addComponent(jTextFieldConyugeGaranteVenta1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(32, Short.MAX_VALUE))
        );

        jPanelDatosGarante3.setBackground(new java.awt.Color(255, 255, 255));

        jLabelDatosGaranteVenta2.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabelDatosGaranteVenta2.setText("Datos Garante 2");

        jLabelAyNGaranteVenta2.setText("Apellido y Nombres:");

        jLabelDireccionGaranteVenta2.setText("Dirección:");

        jLabelDirActualGaranteVenta2.setText("Dirección Actual:");

        jLabelConyugueGaranteVenta2.setText("Conyuge:");

        jTextFieldConyugeGaranteVenta2.setBorder(null);

        jTextFieldDirActualGaranteVenta2.setBorder(null);

        jTextFieldDirGaranteVenta2.setBorder(null);

        jTextFieldNombreGaranteVenta2.setBorder(null);

        jTextFieldDNIGaranteVenta2.setBorder(null);

        jLabelDNIGaranteVenta2.setText("D.N.I:");

        jLabelFechaNacGaranteVenta2.setText("Fecha de Nacimiento:");

        jLabelTelefonoGaranteVenta2.setText("Teléfono:");

        jLabelTelefono2GaranteVenta2.setText("Teléfono Alternativo:");

        jLabelObservacionesGaranteVenta2.setText("Observaciones:");

        jTextFieldObservacionesGaranteVenta2.setBorder(null);

        jTextFieldTelefono2GaranteVenta2.setBorder(null);

        jTextFieldTelefonoGaranteVenta2.setBorder(null);

        jTextFieldEmailGaranteVenta2.setBorder(null);
        jTextFieldEmailGaranteVenta2.setMaximumSize(new java.awt.Dimension(6, 20));

        jTextFieldLocalidadGaranteVenta2.setBorder(null);

        jTextFieldTrabajoGaranteVenta2.setBorder(null);

        jLabelEmailGaranteVenta2.setText("E-Mail:");

        jLabelLocalidadGaranteVenta2.setText("Localidad:");

        jLabelTrabajoGaranteVenta2.setText("Lugar de Trabajo:");

        jTextFieldFechaNacGaranteVenta2.setBorder(null);

        javax.swing.GroupLayout jPanelDatosGarante3Layout = new javax.swing.GroupLayout(jPanelDatosGarante3);
        jPanelDatosGarante3.setLayout(jPanelDatosGarante3Layout);
        jPanelDatosGarante3Layout.setHorizontalGroup(
            jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosGarante3Layout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosGarante3Layout.createSequentialGroup()
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelConyugueGaranteVenta2)
                            .addComponent(jLabelDireccionGaranteVenta2)
                            .addComponent(jLabelAyNGaranteVenta2)
                            .addComponent(jLabelDirActualGaranteVenta2))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jTextFieldConyugeGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldNombreGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldDirActualGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldDirGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelFechaNacGaranteVenta2)
                            .addComponent(jLabelTelefonoGaranteVenta2)
                            .addComponent(jLabelTelefono2GaranteVenta2)
                            .addComponent(jLabelObservacionesGaranteVenta2)))
                    .addGroup(jPanelDatosGarante3Layout.createSequentialGroup()
                        .addComponent(jLabelDatosGaranteVenta2)
                        .addGap(76, 76, 76)
                        .addComponent(jLabelDNIGaranteVenta2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextFieldDNIGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(15, 15, 15)
                .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosGarante3Layout.createSequentialGroup()
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jTextFieldFechaNacGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jTextFieldTelefonoGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jTextFieldTelefono2GaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelTrabajoGaranteVenta2, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelEmailGaranteVenta2, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabelLocalidadGaranteVenta2, javax.swing.GroupLayout.Alignment.TRAILING))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextFieldTrabajoGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldLocalidadGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldEmailGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jTextFieldObservacionesGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 495, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(38, Short.MAX_VALUE))
        );
        jPanelDatosGarante3Layout.setVerticalGroup(
            jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosGarante3Layout.createSequentialGroup()
                .addGap(7, 7, 7)
                .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelDatosGaranteVenta2)
                    .addComponent(jTextFieldDNIGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelDNIGaranteVenta2))
                .addGap(14, 14, 14)
                .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosGarante3Layout.createSequentialGroup()
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelAyNGaranteVenta2)
                            .addComponent(jTextFieldNombreGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelFechaNacGaranteVenta2))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelDireccionGaranteVenta2)
                            .addComponent(jTextFieldDirGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelTelefonoGaranteVenta2)
                            .addComponent(jTextFieldTelefonoGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelDirActualGaranteVenta2)
                            .addComponent(jTextFieldDirActualGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelTelefono2GaranteVenta2)
                            .addComponent(jTextFieldTelefono2GaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanelDatosGarante3Layout.createSequentialGroup()
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelTrabajoGaranteVenta2)
                            .addComponent(jTextFieldTrabajoGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextFieldFechaNacGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTextFieldLocalidadGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabelLocalidadGaranteVenta2))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabelEmailGaranteVenta2)
                            .addComponent(jTextFieldEmailGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelObservacionesGaranteVenta2)
                        .addComponent(jTextFieldObservacionesGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelDatosGarante3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelConyugueGaranteVenta2)
                        .addComponent(jTextFieldConyugeGaranteVenta2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(40, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanelDatosVentaLayout = new javax.swing.GroupLayout(jPanelDatosVenta);
        jPanelDatosVenta.setLayout(jPanelDatosVentaLayout);
        jPanelDatosVentaLayout.setHorizontalGroup(
            jPanelDatosVentaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelDatosVentaLayout.createSequentialGroup()
                .addContainerGap(30, Short.MAX_VALUE)
                .addGroup(jPanelDatosVentaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanelDatosGarante1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanelDatosGarante3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanelDatosMotovehiculo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanelDatosService, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanelDatosRepuesto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanelDatosPago, javax.swing.GroupLayout.PREFERRED_SIZE, 1000, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanelDatosVentaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jPanelDatosDeVenta, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jPanelDatosCliente, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jPanelDatosVentaLayout.setVerticalGroup(
            jPanelDatosVentaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosVentaLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanelDatosDeVenta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanelDatosCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanelDatosGarante1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jPanelDatosGarante3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanelDatosMotovehiculo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelDatosService, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelDatosRepuesto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelDatosPago, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(23, Short.MAX_VALUE))
        );

        jScrollPaneDatosVenta.setViewportView(jPanelDatosVenta);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPaneDatosVenta, javax.swing.GroupLayout.DEFAULT_SIZE, 960, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPaneDatosVenta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

//    /**
//     * @param args the command line arguments
//     */
//    public static void main(String args[]) {
//        /* Set the Nimbus look and feel */
//        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
//        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
//         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
//         */
//        try {
//            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
//                if ("Nimbus".equals(info.getName())) {
//                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
//                    break;
//                }
//            }
//        } catch (ClassNotFoundException ex) {
//            java.util.logging.Logger.getLogger(ImprimirVenta.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        } catch (InstantiationException ex) {
//            java.util.logging.Logger.getLogger(ImprimirVenta.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        } catch (IllegalAccessException ex) {
//            java.util.logging.Logger.getLogger(ImprimirVenta.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
//            java.util.logging.Logger.getLogger(ImprimirVenta.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        }
//        //</editor-fold>
//
//        /* Create and display the form */
//        java.awt.EventQueue.invokeLater(new Runnable() {
//
//            public void run() {
//                new ImprimirVenta().setVisible(true);
//            }
//        });
//    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox jComboBoxTipoPagoVenta;
    private javax.swing.JComboBox jComboBoxTipoVenta;
    private javax.swing.JLabel jLabelAyNClienteVenta;
    private javax.swing.JLabel jLabelAyNGaranteVenta1;
    private javax.swing.JLabel jLabelAyNGaranteVenta2;
    private javax.swing.JLabel jLabelCilindradasMotoVenta;
    private javax.swing.JLabel jLabelColorMotoVenta;
    private javax.swing.JLabel jLabelConyugueClienteVenta;
    private javax.swing.JLabel jLabelConyugueGaranteVenta1;
    private javax.swing.JLabel jLabelConyugueGaranteVenta2;
    private javax.swing.JLabel jLabelCuotasPagoVenta;
    private javax.swing.JLabel jLabelDNIClienteVenta;
    private javax.swing.JLabel jLabelDNIGaranteVenta1;
    private javax.swing.JLabel jLabelDNIGaranteVenta2;
    private javax.swing.JLabel jLabelDatosClienteVenta;
    private javax.swing.JLabel jLabelDatosGaranteVenta1;
    private javax.swing.JLabel jLabelDatosGaranteVenta2;
    private javax.swing.JLabel jLabelDatosMotovehiculo;
    private javax.swing.JLabel jLabelDatosPagoVenta;
    private javax.swing.JLabel jLabelDatosRespuestoVenta;
    private javax.swing.JLabel jLabelDatosServiceVenta;
    private javax.swing.JLabel jLabelDatosVenta;
    private javax.swing.JLabel jLabelDescripcionRespuestoVenta;
    private javax.swing.JLabel jLabelDescripcionServiceVenta;
    private javax.swing.JLabel jLabelDirActualClienteVenta;
    private javax.swing.JLabel jLabelDirActualGaranteVenta1;
    private javax.swing.JLabel jLabelDirActualGaranteVenta2;
    private javax.swing.JLabel jLabelDireccionClienteVenta;
    private javax.swing.JLabel jLabelDireccionGaranteVenta1;
    private javax.swing.JLabel jLabelDireccionGaranteVenta2;
    private javax.swing.JLabel jLabelEmailClienteVenta;
    private javax.swing.JLabel jLabelEmailGaranteVenta1;
    private javax.swing.JLabel jLabelEmailGaranteVenta2;
    private javax.swing.JLabel jLabelEntregaPagoVenta;
    private javax.swing.JLabel jLabelFechaNacClienteVenta;
    private javax.swing.JLabel jLabelFechaNacGaranteVenta1;
    private javax.swing.JLabel jLabelFechaNacGaranteVenta2;
    private javax.swing.JLabel jLabelFechaPrimerVencimiento;
    private javax.swing.JLabel jLabelFechaVenta;
    private javax.swing.JLabel jLabelImporteRespuestoVenta;
    private javax.swing.JLabel jLabelImporteServiceVenta;
    private javax.swing.JLabel jLabelKmMotoVenta;
    private javax.swing.JLabel jLabelLocalidadClienteVenta;
    private javax.swing.JLabel jLabelLocalidadGaranteVenta1;
    private javax.swing.JLabel jLabelLocalidadGaranteVenta2;
    private javax.swing.JLabel jLabelMarcaMotoVenta;
    private javax.swing.JLabel jLabelModeloAnoMotoVenta;
    private javax.swing.JLabel jLabelModeloMotoVenta;
    private javax.swing.JLabel jLabelNroChasisMotoVenta;
    private javax.swing.JLabel jLabelNroMotorMotoVenta;
    private javax.swing.JLabel jLabelObservacionesClienteVenta;
    private javax.swing.JLabel jLabelObservacionesGaranteVenta1;
    private javax.swing.JLabel jLabelObservacionesGaranteVenta2;
    private javax.swing.JLabel jLabelObservacionesMotoVenta;
    private javax.swing.JLabel jLabelPlanPagoVenta;
    private javax.swing.JLabel jLabelPrecioMotoVenta;
    private javax.swing.JLabel jLabelTelefono2ClienteVenta;
    private javax.swing.JLabel jLabelTelefono2GaranteVenta1;
    private javax.swing.JLabel jLabelTelefono2GaranteVenta2;
    private javax.swing.JLabel jLabelTelefonoClienteVenta;
    private javax.swing.JLabel jLabelTelefonoGaranteVenta1;
    private javax.swing.JLabel jLabelTelefonoGaranteVenta2;
    private javax.swing.JLabel jLabelTipoPagoVenta;
    private javax.swing.JLabel jLabelTipoVenta;
    private javax.swing.JLabel jLabelTrabajoClienteVenta;
    private javax.swing.JLabel jLabelTrabajoGaranteVenta1;
    private javax.swing.JLabel jLabelTrabajoGaranteVenta2;
    private javax.swing.JPanel jPanelDatosCliente;
    private javax.swing.JPanel jPanelDatosDeVenta;
    private javax.swing.JPanel jPanelDatosGarante1;
    private javax.swing.JPanel jPanelDatosGarante3;
    private javax.swing.JPanel jPanelDatosMotovehiculo;
    private javax.swing.JPanel jPanelDatosPago;
    private javax.swing.JPanel jPanelDatosPagoCuotas;
    private javax.swing.JPanel jPanelDatosRepuesto;
    private javax.swing.JPanel jPanelDatosService;
    private javax.swing.JPanel jPanelDatosVenta;
    private javax.swing.JScrollPane jScrollPaneDatosVenta;
    private javax.swing.JTextField jTextFieldCilindradasMotoVenta;
    private javax.swing.JTextField jTextFieldColorMotoVenta;
    private javax.swing.JTextField jTextFieldConyugeClienteVenta;
    private javax.swing.JTextField jTextFieldConyugeGaranteVenta1;
    private javax.swing.JTextField jTextFieldConyugeGaranteVenta2;
    private javax.swing.JTextField jTextFieldCuotasPagoVenta;
    private javax.swing.JTextField jTextFieldDNIClienteVenta;
    private javax.swing.JTextField jTextFieldDNIGaranteVenta1;
    private javax.swing.JTextField jTextFieldDNIGaranteVenta2;
    private javax.swing.JTextField jTextFieldDescripcionRespuestoVenta;
    private javax.swing.JTextField jTextFieldDescripcionServiceVenta;
    private javax.swing.JTextField jTextFieldDirActualClienteVenta;
    private javax.swing.JTextField jTextFieldDirActualGaranteVenta1;
    private javax.swing.JTextField jTextFieldDirActualGaranteVenta2;
    private javax.swing.JTextField jTextFieldDirClienteVenta;
    private javax.swing.JTextField jTextFieldDirGaranteVenta1;
    private javax.swing.JTextField jTextFieldDirGaranteVenta2;
    private javax.swing.JTextField jTextFieldEmailClienteVenta;
    private javax.swing.JTextField jTextFieldEmailGaranteVenta1;
    private javax.swing.JTextField jTextFieldEmailGaranteVenta2;
    private javax.swing.JTextField jTextFieldEntregaPagoVenta;
    private javax.swing.JTextField jTextFieldFechaNacClienteVenta;
    private javax.swing.JTextField jTextFieldFechaNacGaranteVenta1;
    private javax.swing.JTextField jTextFieldFechaNacGaranteVenta2;
    private javax.swing.JTextField jTextFieldFechaPrimerVencimiento;
    private javax.swing.JTextField jTextFieldFechaVenta;
    private javax.swing.JTextField jTextFieldImporteRespuestoVenta;
    private javax.swing.JTextField jTextFieldImporteServiceVenta;
    private javax.swing.JTextField jTextFieldKmMotoVenta;
    private javax.swing.JTextField jTextFieldLocalidadClienteVenta;
    private javax.swing.JTextField jTextFieldLocalidadGaranteVenta1;
    private javax.swing.JTextField jTextFieldLocalidadGaranteVenta2;
    private javax.swing.JTextField jTextFieldMarcaMotoVenta;
    private javax.swing.JTextField jTextFieldModeloAnoMotoVenta;
    private javax.swing.JTextField jTextFieldModeloMotoVenta;
    private javax.swing.JTextField jTextFieldNombreClienteVenta;
    private javax.swing.JTextField jTextFieldNombreGaranteVenta1;
    private javax.swing.JTextField jTextFieldNombreGaranteVenta2;
    private javax.swing.JTextField jTextFieldNroChasisMotoVenta;
    private javax.swing.JTextField jTextFieldNroMotorMotoVenta;
    private javax.swing.JTextField jTextFieldObservacionesClienteVenta;
    private javax.swing.JTextField jTextFieldObservacionesGaranteVenta1;
    private javax.swing.JTextField jTextFieldObservacionesGaranteVenta2;
    private javax.swing.JTextField jTextFieldObservacionesMotoVenta;
    private javax.swing.JTextField jTextFieldPlanPagoVenta;
    private javax.swing.JTextField jTextFieldPrecioMotoVenta;
    private javax.swing.JTextField jTextFieldTelefono2ClienteVenta;
    private javax.swing.JTextField jTextFieldTelefono2GaranteVenta1;
    private javax.swing.JTextField jTextFieldTelefono2GaranteVenta2;
    private javax.swing.JTextField jTextFieldTelefonoClienteVenta;
    private javax.swing.JTextField jTextFieldTelefonoGaranteVenta1;
    private javax.swing.JTextField jTextFieldTelefonoGaranteVenta2;
    private javax.swing.JTextField jTextFieldTipoPagoVenta;
    private javax.swing.JTextField jTextFieldTipoVenta;
    private javax.swing.JTextField jTextFieldTrabajoClienteVenta;
    private javax.swing.JTextField jTextFieldTrabajoGaranteVenta1;
    private javax.swing.JTextField jTextFieldTrabajoGaranteVenta2;
    // End of variables declaration//GEN-END:variables

@Override
    public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException {
        if (pageIndex > 0) { /* We have only one page, and 'page' is zero-based */
            return NO_SUCH_PAGE;
        }

        Graphics2D g2d = (Graphics2D) graphics;
        g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
        g2d.scale(0.55, 0.55);
        this.jPanelDatosVenta.printAll(graphics);


        return PAGE_EXISTS;
    }

    public void imprimir() {
        try {
            PrinterJob job = PrinterJob.getPrinterJob();
            job.setPrintable(this);
            if(job.printDialog()){
                job.print();
            } 
        } catch (PrinterException ex) {
            System.out.println(ex);
        }
    }

    public void mostrarVentaImpresion(VentaDTO venta) {
        this.jTextFieldFechaVenta.setText(Fecha.formatearFecha(venta.getFecha()));
        this.jTextFieldEntregaPagoVenta.setText(Double.toString(venta.getEntrega()));
        this.jComboBoxTipoVenta.setSelectedItem(venta.getTipo());
        this.jTextFieldTipoVenta.setText(venta.getTipo());
        if (venta.getCliente() != null) {
            this.mostrarClienteVenta(venta.getCliente());
        }
        switch (jComboBoxTipoVenta.getSelectedIndex()) {
            case 0:
                if (venta.getMoto() != null) {
                    this.mostrarMotoVenta(venta.getMoto());
                }
                this.jTextFieldPrecioMotoVenta.setText(Double.toString(venta.getPrecio()));
                this.jTextFieldObservacionesMotoVenta.setText(venta.getDescripcion());
                this.jPanelDatosMotovehiculo.setVisible(true);
                this.jPanelDatosService.setVisible(false);
                this.jPanelDatosRepuesto.setVisible(false);
                break;
            case 1:
                this.jTextFieldImporteServiceVenta.setText(Double.toString(venta.getPrecio()));
                this.jTextFieldDescripcionServiceVenta.setText(venta.getDescripcion());
                this.jPanelDatosMotovehiculo.setVisible(false);
                this.jPanelDatosService.setVisible(true);
                this.jPanelDatosRepuesto.setVisible(false);
                break;
            case 2:
                this.jTextFieldImporteRespuestoVenta.setText(Double.toString(venta.getPrecio()));
                this.jTextFieldDescripcionRespuestoVenta.setText(venta.getDescripcion());
                this.jPanelDatosMotovehiculo.setVisible(false);
                this.jPanelDatosService.setVisible(false);
                this.jPanelDatosRepuesto.setVisible(true);
                break;
        }
        if (venta.getPlanes() != null && venta.getPlanes().size() > 0) {
            this.jComboBoxTipoPagoVenta.setSelectedIndex(1);
            this.jTextFieldTipoPagoVenta.setText(this.jComboBoxTipoPagoVenta.getSelectedItem().toString());
            if (venta.getGarante1() != null) {
                this.mostrarGarante1Venta(venta.getGarante1());
            }
            if (venta.getGarante2() != null) {
                this.mostrarGarante2Venta(venta.getGarante2());
            } else {
                this.jPanelDatosGarante3.setVisible(false);
            }
            this.mostrarPlanVenta(venta.getPlanes().get(venta.getPlanes().size()-1));
            this.jPanelDatosPagoCuotas.setVisible(true);
        } else {
            this.jComboBoxTipoPagoVenta.setSelectedIndex(0);
            this.jTextFieldTipoPagoVenta.setText(this.jComboBoxTipoPagoVenta.getSelectedItem().toString());
            this.jPanelDatosGarante1.setVisible(false);
            this.jPanelDatosGarante3.setVisible(false);
            this.jPanelDatosPagoCuotas.setVisible(false);
        }
    }

    public void mostrarClienteVenta(PersonaDTO cliente) {
        this.jTextFieldDNIClienteVenta.setText(Integer.toString(cliente.getDni()));
        this.jTextFieldNombreClienteVenta.setText(cliente.getNombre());
        this.jTextFieldFechaNacClienteVenta.setText(Fecha.formatearFecha(cliente.getFechanacimiento()));
        this.jTextFieldTrabajoClienteVenta.setText(cliente.getLugardetrabajo());
        this.jTextFieldDirClienteVenta.setText(cliente.getDireccion());
        this.jTextFieldTelefonoClienteVenta.setText(cliente.getTelefono());
        this.jTextFieldLocalidadClienteVenta.setText(cliente.getLocalidad());
        this.jTextFieldDirActualClienteVenta.setText(cliente.getDireccionactual());
        this.jTextFieldTelefono2ClienteVenta.setText(cliente.getTelefono2());
        this.jTextFieldEmailClienteVenta.setText(cliente.getEmail());
        this.jTextFieldConyugeClienteVenta.setText(cliente.getConyuge());
        this.jTextFieldObservacionesClienteVenta.setText(cliente.getObservaciones());
    }

    public void mostrarMotoVenta(MotoDTO moto) {
        this.jTextFieldMarcaMotoVenta.setText(moto.getMarca());
        this.jTextFieldModeloMotoVenta.setText(moto.getModelo());
        this.jTextFieldCilindradasMotoVenta.setText(moto.getCilindrada());
        this.jTextFieldColorMotoVenta.setText(moto.getColor());
        this.jTextFieldKmMotoVenta.setText(moto.getKm());
        this.jTextFieldNroMotorMotoVenta.setText(moto.getNumMotor());
        this.jTextFieldNroChasisMotoVenta.setText(moto.getNumChasis());
        this.jTextFieldModeloAnoMotoVenta.setText(moto.getModeloAnio());
    }

    public void mostrarGarante1Venta(PersonaDTO garante1) {
        this.jTextFieldDNIGaranteVenta1.setText(Integer.toString(garante1.getDni()));
        this.jTextFieldNombreGaranteVenta1.setText(garante1.getNombre());
        this.jTextFieldFechaNacGaranteVenta1.setText(Fecha.formatearFecha(garante1.getFechanacimiento()));
        this.jTextFieldTrabajoGaranteVenta1.setText(garante1.getLugardetrabajo());
        this.jTextFieldDirGaranteVenta1.setText(garante1.getDireccion());
        this.jTextFieldTelefonoGaranteVenta1.setText(garante1.getTelefono());
        this.jTextFieldLocalidadGaranteVenta1.setText(garante1.getLocalidad());
        this.jTextFieldDirActualGaranteVenta1.setText(garante1.getDireccionactual());
        this.jTextFieldTelefono2GaranteVenta1.setText(garante1.getTelefono2());
        this.jTextFieldEmailGaranteVenta1.setText(garante1.getEmail());
        this.jTextFieldConyugeGaranteVenta1.setText(garante1.getConyuge());
        this.jTextFieldObservacionesGaranteVenta1.setText(garante1.getObservaciones());
    }

    public void mostrarGarante2Venta(PersonaDTO garante2) {
        this.jTextFieldDNIGaranteVenta2.setText(Integer.toString(garante2.getDni()));
        this.jTextFieldNombreGaranteVenta2.setText(garante2.getNombre());
        this.jTextFieldFechaNacGaranteVenta2.setText(Fecha.formatearFecha(garante2.getFechanacimiento()));
        this.jTextFieldTrabajoGaranteVenta2.setText(garante2.getLugardetrabajo());
        this.jTextFieldDirGaranteVenta2.setText(garante2.getDireccion());
        this.jTextFieldTelefonoGaranteVenta2.setText(garante2.getTelefono());
        this.jTextFieldLocalidadGaranteVenta2.setText(garante2.getLocalidad());
        this.jTextFieldDirActualGaranteVenta2.setText(garante2.getDireccionactual());
        this.jTextFieldTelefono2GaranteVenta2.setText(garante2.getTelefono2());
        this.jTextFieldEmailGaranteVenta2.setText(garante2.getEmail());
        this.jTextFieldConyugeGaranteVenta2.setText(garante2.getConyuge());
        this.jTextFieldObservacionesGaranteVenta2.setText(garante2.getObservaciones());
    }
    
    public void mostrarPlanVenta(PlanDTO plan) {
        this.jTextFieldPlanPagoVenta.setText(Integer.toString(plan.getNumCoutas()));
        this.jTextFieldCuotasPagoVenta.setText(Double.toString(plan.getMontoCoutas()));
        this.jTextFieldFechaPrimerVencimiento.setText(Fecha.formatearFecha(plan.getFechaIncicio()));
    }
    
}
